package com.ailesson.video.model.reply;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 课程章节
 * 
 * @author mac
 * @email mac@gmail.com
 * @date 2024-10-02 10:30:59
 */
@Schema(name = "返回值")
@Data
public class ChapterReply implements Serializable{
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@Schema(name = "id", description = "主键", type = "Long")
    private Long id;
	/**
	 * 课程ID
	 */
	@Schema(name = "courseId", description = "课程ID", type = "Long")
    private Long courseId;
	/**
	 * 章节名称
	 */
	@Schema(name = "title", description = "章节名称", type = "String")
    private String title;
	/**
	 * 显示排序
	 */
	@Schema(name = "sort", description = "显示排序", type = "Integer")
    private Integer sort;
	/**
	 * 创建时间
	 */
	@Schema(name = "createTime", description = "创建时间", type = "LocalDateTime")
    private LocalDateTime createTime;
	/**
	 * 
	 */
	@Schema(name = "updateTime", description = "", type = "LocalDateTime")
    private LocalDateTime updateTime;
	/**
	 * 
	 */
	@Schema(name = "isDeleted", description = "", type = "Integer")
    private Integer isDeleted;
	/**
	 * 创建人
	 */
	@Schema(name = "creator", description = "创建人", type = "String")
    private String creator;
	/**
	 * 更新人
	 */
	@Schema(name = "updater", description = "更新人", type = "String")
    private String updater;

	@Schema(name = "children", description = "章节下的课时列表")
	private List<VideoSimpleReply> children;

}
